from xen.xend import sxp
from xen.xend import uuid
+from xen.xend import XendAPIStore
from xen.xend.XendError import VmError
from xen.xend.XendDevices import XendDevices
from xen.xend.PrettyPrint import prettyprintstring
if cfg_xenapi.get('name'):
dev_info['name'] = cfg_xenapi.get('name')
if cfg_xenapi.get('network'):
- from xen.xend.XendNode import XendAPIInstanceStore
- network = XendAPIInstanceStore.get(
+ network = XendAPIStore.get(
cfg_xenapi.get('network'), 'network')
dev_info['bridge'] = network.get_name_label()